//
//  MyButtonViewController.m
//  大轮胎
//
//  Created by 赵学文 on 2017/3/31.
//  Copyright © 2017年 zyc. All rights reserved.
//

#import "MyButtonViewController.h"
#import "MyButtonView.h"
@interface MyButtonViewController ()
{
    MyButtonView *_MybtnV;
}
@end

@implementation MyButtonViewController
-(void)viewWillAppear:(BOOL)animated
{
    self.navigationController.navigationBar.hidden=NO;
    self.tabBarController.tabBar.hidden=YES;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.title =@"登录/注册";
    _MybtnV = [[MyButtonView alloc]initWithFrame:self.view.bounds];
    [self.view addSubview:_MybtnV];
    [_MybtnV.LoginBut addTarget:self action:@selector(Login) forControlEvents:UIControlEventTouchUpInside];
    [_MybtnV.EnterBut addTarget:self action:@selector(Enter) forControlEvents:UIControlEventTouchUpInside];
    
    // Do any additional setup after loading the view.
}
- (void)Enter{
    
}
- (void)Login{
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
